Support the Inhibit portal
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Jul 2016 01:19:12 +0000 (21:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jul 2016 04:08:37 +0000 (00:08 -0400)
commit04cec61aa154910d36202c26cf32d37a35a7b99a
tree8269aa1c8095db367d04fd6c27f08ef6c614dade
parent4600209962e051d97b6fac6a81424bcf54707f46
Support the Inhibit portal

xdg-desktop-portal now has a portal for inhibiting session status
changes. We don't need to use it if we can talk to the session
manager, but if can't, try org.freedesktop.portal.Inhibit.

https://bugzilla.gnome.org/show_bug.cgi?id=768499
gtk/gtkapplication-dbus.c
gtk/gtkapplicationprivate.h